package com.safframework.server.core.handler.udp

import io.netty.channel.ChannelHandlerContext
import io.netty.channel.socket.DatagramPacket
import io.netty.handler.codec.MessageToMessageDecoder

class UdpMessageDecodeHandler : MessageToMessageDecoder<DatagramPacket>() {

    override fun decode(ctx: ChannelHandlerContext?, msg: DatagramPacket?, out: MutableList<Any>?) {
        println(msg?.content())
    }


}